home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1999 November / SOTMC_Nov1999-Ultimate.iso / mac / REALbasic ƒ / Examples / Techniques / Poly 35a / help.doc < prev    next >
Encoding:
Text File  |  1998-05-06  |  1.5 KB  |  55 lines  |  [TEXT/ttxt]

  1. This application will approximate
  2. N  datapoints by a polynomial of degree M,
  3. where M is always less than the number
  4. of data points N.  The equation to be fitted
  5.  is of the type :
  6.  
  7. Y = C0  + C1*X^1 +C2*X^2 + C3*X^3+ .....+ CN*X^N
  8.  
  9. To use this application:
  10. 1.   Open the application and goto
  11. data x,y.
  12.  
  13. 2.   Input the x and y values and
  14. hit the INPUT pushbutton.  Continue
  15. this procedure until all the values are
  16. entered.  If a value  is entered incorrectly,
  17. hightlight the line with the wrong data,
  18. and push theDELETE pushbutton.  Input 
  19. the correct information and then press
  20. INPUT.
  21.  
  22. 3. Save the data by hitting the 
  23. save button.  All files must be saved
  24. with the extension txt.  Included with
  25. this application are several examples.
  26. You can use the READ function and start
  27. to do some fitting.
  28.  
  29. 4.  Push the Done pushbutton.  Set the
  30. order of the Polynomio to a value M.
  31.  
  32. 5.  Push the pushbutton RUN.  
  33.  
  34. 6.  If the M=1, (linear regression of
  35. the type y=c1*x+c0,  the  coeff. of correlation R
  36. will be computed.
  37.  
  38. 7.  You can change the M value...and push the
  39. Run pushbutton...and the coefficients for the
  40. polynomio will be computed again !!!
  41.  
  42. 8.  After completing the fit...you can estimate
  43. the Y value for a given value of X...this can be
  44. done by pressing y=f(x) pushbutton.  In the
  45. X-editfield...input the number and then press
  46. Calculate....  Noticed that the inverse 
  47. calculation....i.e., if you know the Y and you 
  48. want to calculate the X  value can be also 
  49. determined (PolyNow Ver. 0.2)
  50.  
  51. 9.  Have fun....any problem...send comments
  52. to :  tonymac96@xsn.net
  53.  
  54.  
  55.